package consumer

import (
	"fmt"
	_ "fmt"
	"ocane/models"
	"ocane/rpc"
)


func QueryTest()  {
	var reply models.GoUser
	err:= rpc.Client.Call("Arith.GetUserInfo", 1, &reply)
	if err!=nil{
		panic(err)
	}
	fmt.Println("rpc调用结果是：", reply.Name)
}
